package com.kaifamiao.www.demo.Do16;

public class Demo03 {
    public static void main(String[] args) {
    int i = 10;
    //将10赋值给变量i。
        int i1 = 1;
        i1 += 10;
        System.out.println(i1);
        //++自增符，++/--在前，先自增自减，再运算。++/--在后，先运算，再自增自减

        int num = 10;
        num = num++;
        System.out.println(num);
        //与字符串拼接
       // int a = 10,b = 11;
        //System.out.println("a+b="+a+b);
       // System.out.println(a+b+"=a+b");
        //&  ,  |   ，&&，  ||
        boolean flag = false ;
        System.out.println("!flag="+!flag);

        int a = 10 , b = 20 ;
        System.out.println("a>b|a<b"+(a>b|a<b));
        System.out.println("a>b||a<b"+(a>b||a<b));

        int i5 = 0x12c;
        System.out.println(i5);

        int A = 100 ;
        int B = 200 ;
        boolean result1 = A > B ;
        System.out.println(result1);
        boolean result2 = A < B ;
        System.out.println(result2);
        boolean result3 = A == B ;
        System.out.println(result3) ;
        boolean result4 = A >= B ;
        boolean result5 = A <=B ;
        System.out.println(result4) ;
        System.out.println(result5) ;






    }
}
